package com.gopay.common.domain.rcs;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.gopay.common.domain.BaseEntity;

/**
 * 风控服务 额度统计表
 * @RcsTransLimitStatistics.java
 * @author liujy
 * @2013-7-19 上午9:50:21  www.gopay.com.cn Inc.All rights reserved.
 */
@MappedSuperclass
public class RcsTransLimitStatistics extends BaseEntity{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    // 客户号
    private String custId;
    // 产品代码
    private String prodCode;
    // 交易码
    private String gopayIntTxnCd;
    // 资金流向
    private String tranDirection;
    // 当日累计额度
    private BigDecimal dayLimitStatcs;
    // 当日累计次数
    private int dayTimesStatcs;
    // 统计日期
    private String statcsDate;
    
    private int version;
    
    private String lastUpdUserId;
    private Date createdTs;
    private Date lastUpdTs;
    private String lastUpdTrancode;
    
    @Column(name="CUST_ID", nullable=false, unique=false)
    public String getCustId() {
        return custId;
    }
    public void setCustId(String custId) {
        this.custId = custId;
    }
    @Column(name="PROD_CODE", nullable=false, unique=false)
    public String getProdCode() {
        return prodCode;
    }
    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }
    @Column(name="GOPAY_INT_TXN_CD", nullable=false, unique=false)
    public String getGopayIntTxnCd() {
        return gopayIntTxnCd;
    }
    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd;
    }
    @Column(name="TRAN_DIRECTION", nullable=false, unique=false)
    public String getTranDirection() {
        return tranDirection;
    }
    public void setTranDirection(String tranDirection) {
        this.tranDirection = tranDirection;
    }
    @Column(name="DAY_LIMIT_STATCS", nullable=false, unique=false)
    public BigDecimal getDayLimitStatcs() {
        return dayLimitStatcs;
    }
    public void setDayLimitStatcs(BigDecimal dayLimitStatcs) {
        this.dayLimitStatcs = dayLimitStatcs;
    }
    @Column(name="DAY_TIMES_STATCS", nullable=false, unique=false)
    public int getDayTimesStatcs() {
        return dayTimesStatcs;
    }
    public void setDayTimesStatcs(int dayTimesStatcs) {
        this.dayTimesStatcs = dayTimesStatcs;
    }
    @Column(name="STATCS_DATE", nullable=false, unique=false)
    public String getStatcsDate() {
        return statcsDate;
    }
    public void setStatcsDate(String statcsDate) {
        this.statcsDate = statcsDate;
    }
    @Column(name="VERSION", nullable=false, unique=false)
    public int getVersion() {
        return version;
    }
    public void setVersion(int version) {
        this.version = version;
    }
    @Column(name="LAST_UPD_USER_ID", nullable=true, unique=false)
    public String getLastUpdUserId() {
        return lastUpdUserId;
    }
    public void setLastUpdUserId(String lastUpdUserId) {
        this.lastUpdUserId = lastUpdUserId;
    }
    @Column(name="CREATED_TS", nullable=true, unique=false)
    public Date getCreatedTs() {
        return createdTs;
    }
    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }
    @Column(name="LAST_UPD_TS", nullable=true, unique=false)
    public Date getLastUpdTs() {
        return lastUpdTs;
    }
    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }
    @Column(name="LAST_UPD_TRANCODE", nullable=true, unique=false)
    public String getLastUpdTrancode() {
        return lastUpdTrancode;
    }
    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }
}
